﻿using Blog.Core.Common.Helper;
using MapleLeaf.IdentityServer.Helper;
using MapleLeaf.IdentityServer.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Diagnostics;

namespace MapleLeaf.IdentityServer.Controllers {
    public class HomeController : Controller {
        private readonly ILogger<HomeController> _logger;

        public HomeController(ILogger<HomeController> logger) {
            _logger = logger;
        }

        public ActionResult Index() {
            return View();
        }

        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="mLUser"></param>
        /// <returns></returns>
        public ActionResult Login(MLUserModel mLUser) {

            var a = "";
            return new JsonResult("登录成功");
        }






    }
}
